ga.view.appstate
Class RootNodeState

java.lang.Object
  extended by com.jme3.app.state.AbstractAppState
      extended by ga.view.appstate.RootNodeState
All Implemented Interfaces:
com.jme3.app.state.AppState
Direct Known Subclasses:
SceneState

public class RootNodeState
extends com.jme3.app.state.AbstractAppState

Extended app state with a root node.

Since:
12.08.2012
Author:
Stephan Dreyer

Field Summary
protected  com.jme3.scene.Node rootNode
           
 
Fields inherited from class com.jme3.app.state.AbstractAppState
initialized
 
Constructor Summary
RootNodeState()
          Instantiates a new root node state.
 
Method Summary
 void cleanup()
           
 com.jme3.scene.Node getRootNode()
          Gets the root node.
 void update(float tpf)
           
 
Methods inherited from class com.jme3.app.state.AbstractAppState
initialize, isEnabled, isInitialized, postRender, render, setEnabled, stateAttached, stateDetached
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rootNode

protected com.jme3.scene.Node rootNode
Constructor Detail

RootNodeState

public RootNodeState()
Instantiates a new root node state.

Method Detail

getRootNode

public com.jme3.scene.Node getRootNode()
Gets the root node.

Returns:
the root node

update

public void update(float tpf)
Specified by:
update in interface com.jme3.app.state.AppState
Overrides:
update in class com.jme3.app.state.AbstractAppState

cleanup

public void cleanup()
Specified by:
cleanup in interface com.jme3.app.state.AppState
Overrides:
cleanup in class com.jme3.app.state.AbstractAppState